<?php 
class Admin_Model_PagePanel extends Me_Model_Action
{
	public $portlets = array();
	function init(){

		$this->_name    = 'page_panel';
		$this->_primary = 'id';
	}
	
	/**
	 * @param int page id
	 * @return array list of panel page
	 * @author Tai Tran <tai@uniweb.vn>
	 */
	function getByPageId($pageId)
	{
		return $this->fetchAll('page_id = ' . $pageId, 'page_id');
	}
} 
